package com.euq.entity;


import jakarta.persistence.Column;

public class Menu {

  private long id;
  @Column(nullable = false)
  private String code;
  private String component;
  private long hidden;
  private String icon;
  @Column(nullable = false)
  private long isMenu;
  private long isOpen;
  @Column(nullable = false)
  private long levels;
  @Column(nullable = false)
  private String name;
  @Column(nullable = false)
  private long num;
  @Column(nullable = false)
  private String pCode;
  private String pCodes;
  private String tips;
  private String url;


  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }

  public String getCode() {
    return code;
  }

  public void setCode(String code) {
    this.code = code;
  }


  public String getComponent() {
    return component;
  }

  public void setComponent(String component) {
    this.component = component;
  }


  public long getHidden() {
    return hidden;
  }

  public void setHidden(long hidden) {
    this.hidden = hidden;
  }


  public String getIcon() {
    return icon;
  }

  public void setIcon(String icon) {
    this.icon = icon;
  }

  public long getLevels() {
    return levels;
  }

  public void setLevels(long levels) {
    this.levels = levels;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public long getNum() {
    return num;
  }

  public void setNum(long num) {
    this.num = num;
  }

  public String getTips() {
    return tips;
  }

  public void setTips(String tips) {
    this.tips = tips;
  }

  public String getUrl() {
    return url;
  }

  public void setUrl(String url) {
    this.url = url;
  }
  public long getIsOpen() {
    return isOpen;
  }
  public void setIsOpen(long isOpen) {
    this.isOpen = isOpen;
  }

  public String getpCode() {
    return pCode;
  }

  public void setpCode(String pCode) {
    this.pCode = pCode;
  }

  public String getpCodes() {
    return pCodes;
  }

  public void setpCodes(String pCodes) {
    this.pCodes = pCodes;
  }

  public long getIsMenu() {
    return isMenu;
  }

  public void setIsMenu(long isMenu) {
    this.isMenu = isMenu;
  }

  @Override
  public String toString() {
    return "Menu{" +
            "id=" + id +
            ", code='" + code + '\'' +
            ", component='" + component + '\'' +
            ", hidden=" + hidden +
            ", icon='" + icon + '\'' +
            ", isMenu=" + isMenu +
            ", isOpen=" + isOpen +
            ", levels=" + levels +
            ", name='" + name + '\'' +
            ", num=" + num +
            ", pCode='" + pCode + '\'' +
            ", pCodes='" + pCodes + '\'' +
            ", tips='" + tips + '\'' +
            ", url='" + url + '\'' +
            '}';
  }
}
